<template>
  <div class="contact">
    <div class="contactLeft">
      <div class="contactLeftTop">
        <h3>如果你也对前端感兴趣，</h3>
        <h3>如果你也对平面设计感兴趣，</h3>
        <h3>或者是后端大佬，</h3>
        <h3>可以联系我，</h3>
        <h1>我们可以一起做项目啊!</h1>
      </div>
      <div class="conactLeftBottom">
        <h4>QQ:1493170339</h4>
        <h4>邮箱：1493170339@qq.com</h4>
        <h4>tel:17384165534</h4>
        <a href="https://gitee.com/luoguangguang" style="color: #0080ce; text-decoration: underline;"
          >进入我的Gitee博客</a
        >
      </div>
    </div>
    <div class="contactRight">
      <img src="@/assets/contact/images/weixin.jpg" alt="" class="imageSmall" />
      <img
        src="@/assets/contact/images/Placeholder.jpg"
        alt=""
        class="imageBig"
      />
    </div>
  </div>
</template>

<script>
export default {
  name: "ContactMe",
};
</script>

<style scoped lang="less">
@keyframes smallPic {
  0% {
    opacity: 0;
    transform: translateY(50%);
  }
  50% {
    opacity: 0.5;
    transform: translateY(25%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

// pc端样式
@media screen and (min-width: 1200px) {
  .contact {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    font-family: "宋体";
  }
  .contact .contactLeft {
    width: 500px;
    height: 500px;
    /* background-color: pink; */
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  .contact .contactRight {
    position: relative;
    width: 500px;
    height: 500px;
    /* background-color: pink; */
  }

  .contact .contactRight .imageSmall {
    width: 200px;
    height: 200px;
    position: absolute;
    left: 0;
    top: 50px;
    border-radius: 10px;
    z-index: 1;
    opacity: 0.9;
    box-shadow: 2px 30px 30px white;
    animation: smallPic 2s;
  }

  .contact .contactRight .imageBig {
    position: absolute;
    top: 0;
    right: 0;
    width: 352px;
    height: 500px;
    border-radius: 17px;
  }
}

// 手机端
@media screen and (max-width: 1199px) {
  .contact {
    width: 375px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
  }
  .contact .contactLeft {
    width: 375px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .contact .contactRight {
    margin: 0 auto;
    position: relative;
    width: 375px;
    // background-color: pink;
  }

  .contact .contactRight .imageSmall {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    opacity: 0.9;
    z-index: 2;
    box-shadow: 2px 30px 30px white;
    animation: smallPic 2s;
  }

  .contact .contactRight .imageBig {
    margin: 0 auto;
    margin-top: 20px;
    width: 246px;
    height: 350px;
    border-radius: 17px;
  }
}
</style>